package com.ruoyi.project.system.domain;

import com.ruoyi.framework.web.domain.BaseEntity;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;
import java.util.List;

/**
 * 用户端app对象 sys_mobile_user
 *
 * @author jjp
 * @date 2020-04-13
 */
public class SysMobileUser extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 用户id
     */
    private Long mobileUserId;

    /**
     * $column.columnComment
     */
    private String userName;

    /**
     * 手机号码
     */
    private String phone;

    /**
     * 微信open_id
     */
    private String openId;

    /**
     * 性别
     */
    private String sex;

    /**
     * 地址
     */
    private String address;

    /**
     * 用户头像
     */
    private String avatar;

    /**
     * $column.columnComment
     */
    private String password;

    /**
     * 关联后台用户userId,如果存在则说明是被推广商家邀请入驻
     */
    private Long deptId;

    /**
     * 可提现金额
     */
    private double money;

    /**
     * 冻结金额
     */
    private Long amount;

    /**
     * $column.columnComment
     */
    private String status;

    /**
     * $column.columnComment
     */
    private String delFlag;

    private Date createTime;

    private double integral;

    /**
     * 头像
     */
    @ApiModelProperty(name = "头像")
    private String image;

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    private List<SysAddress> sysAddresses;

    public List<SysAddress> getSysAddresses() {
        return sysAddresses;
    }

    public void setSysAddresses(List<SysAddress> sysAddresses) {
        this.sysAddresses = sysAddresses;
    }

    public double getMoney() {
        return money;
    }

    public void setMoney(double money) {
        this.money = money;
    }

    public void setAmount(Long amount) {
        this.amount = amount;
    }

    public void setMobileUserId(Long mobileUserId) {
        this.mobileUserId = mobileUserId;
    }

    public Long getMobileUserId() {
        return mobileUserId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getPhone() {
        return phone;
    }

    public void setOpenId(String openId) {
        this.openId = openId;
    }

    public String getOpenId() {
        return openId;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getSex() {
        return sex;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getAddress() {
        return address;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getPassword() {
        return password;
    }

    public Long getDeptId() {
        return deptId;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }


    public Long getAmount() {
        return amount;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getStatus() {
        return status;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    public String getDelFlag() {
        return delFlag;
    }

    @Override
    public Date getCreateTime() {
        return createTime;
    }

    @Override
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public double getIntegral() {
        return integral;
    }

    public void setIntegral(double integral) {
        this.integral = integral;
    }
}
